<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>初始vue</title>
</head>
<script src="../js/vue.js"></script>

<body>




    <div id="contain">
        <h1>hello ,{{name}}</h1> 

        <h1>我的年龄是:{{age}}</h1>
    </div>


    <script>

      
        new Vue({
            el: '#contain',      
            data: {
                
                name: '黎黎',
                age: '20'
            }
        });



    </script>
</body>

</html>